package com.example.oms.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Registrations)实体类
 *
 * @author makejava
 * @since 2024-12-29 16:27:07
 */
public class Registrations implements Serializable {
    private static final long serialVersionUID = 296837297748531886L;
    
    private Integer id;
    
    private Integer patientId;
    
    private Integer doctorId;
    
    private String status;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date appointmentDate;
    private String appointmentPeriod;
    
    private Integer isAppointmentRegistration;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getAppointmentDate() {
        return appointmentDate;
    }

    public void setAppointmentDate(Date appointmentDate) {
        this.appointmentDate = appointmentDate;
    }

    public String getAppointmentPeriod() {
        return appointmentPeriod;
    }

    public void setAppointmentPeriod(String appointmentPeriod) {
        this.appointmentPeriod = appointmentPeriod;
    }

    public Integer getIsAppointmentRegistration() {
        return isAppointmentRegistration;
    }

    public void setIsAppointmentRegistration(Integer isAppointmentRegistration) {
        this.isAppointmentRegistration = isAppointmentRegistration;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

}

